package com.report.dto.request;

import com.report.valid.NotBlankPhonePattern;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author summer
 * @version 1.0
 * @date 2024/7/30 15:25
 */
@Data
public class WebLoginRes implements Serializable {

    @NotBlankPhonePattern(regexp = "^1[3-9]\\d{9}$")
    private String phone;

    @NotBlank(message = "密码不能为空")
    private String password;
}
